package com.example.service;

import com.example.pojo.Instruction;
import org.springframework.stereotype.Service;

import java.util.List;

//service接口
@Service
public interface InstructionService {

    //新增指令,对每一个合并、合并更新、拆除操作都需要新增对应的指令
    int newInstruction(Instruction instruction);

    //查询当前待审核总数
    List<Instruction> queryAll();

    //根据id查询
    Instruction queryById(int id);


}
